
/**
 * {
 "bingeWatch": 0,
 "boxInfo": "喵，即将上映",
 "cat": "剧情,喜剧,爱情",
 "civilPubSt": 0,
 "comingTitle": "6月28日 周五",
 "desc": "主演:黄轩,柳岩,刘洋",
 "dir": "刘博文",
 "dur": 118,
 "effectShowNum": 42,
 "followst": 0,
 "globalReleased": false,
 "haspromotionTag": false,
 "headLineShow": false,
 "id": 1461152,
 "img": "https://p0.pipi.cn/mmdb/54ecde7102ff2a02ff030cf56916d5d878954.jpg?imageMogr2/thumbnail/2500x2500%3E",
 "isRevival": false,
 "late": false,
 "localPubSt": 0,
 "mark": false,
 "mk": 9.6,
 "movieType": 0,
 "nm": "来福大酒店",
 "pn": 72,
 "preSale": 1,
 "preShow": true,
 "proScore": 0.0,
 "proScoreNum": 0,
 "pubDate": 1719504000000,
 "pubDesc": "2024-06-28 09:00中国大陆上映",
 "pubShowNum": 42,
 "recentShowDate": 1719072000000,
 "recentShowNum": 223,
 "rt": "2024-06-28",
 "sc": 9.6,
 "scm": "黄轩柳岩爆改，社会哥过招老板娘",
 "scoreLabel": "猫眼点映评分",
 "showCinemaNum": 131,
 "showInfo": "今天131家影院放映220场",
 "showNum": 220,
 "showStateButton": {
 "color": "#F03D37",
 "content": "购票",
 "onlyPreShow": false
 },
 "showTimeInfo": "2024-06-28 下周五上映",
 "showst": 4,
 "snum": 7488,
 "src": "中国大陆",
 "star": "黄轩,柳岩,刘洋",
 "totalShowNum": 396,
 "ver": "中国巨幕2D/CINITY 2D/2D",
 "videoId": 503906,
 "videoName": "电影《来福大酒店》发布终极预告 黄轩柳岩不屈命运倔强生长",
 "videourl": "https://vod.pipi.cn/fec9203cvodtransbj1251246104/ad7a9acc1253642697983211495/v.f42905.mp4",
 "vnum": 3,
 "vodPlay": false,
 "wish": 71071,
 "wishst": 0
 }
 * */
export class MovieItem{
  nm:string//title
  star:string//主演
  cat:string
  mk:number//评分
  desc:string
  showInfo:string//描述信息
  showStateButton:StateButton//按钮
  img:string//图片
  pubDesc:string
  id:number
  boxInfo:string

  constructor(data:{nm: string //title
  , star: string //主演
  , cat: string, mk: number //评分
  , desc: string, showInfo: string //描述信息
  , showStateButton: StateButton //按钮
  , img: string //图片
    ,pubDesc:string
    ,boxInfo:string,
    id:number
  }) {
    this.nm = data.nm
    this.star = data.star
    this.cat = data.cat
    this.mk = data.mk
    this.desc = data.desc
    this.pubDesc = data.pubDesc
    this.showInfo = data.showInfo
    this.showStateButton = data.showStateButton
    this.img = data.img
    this.boxInfo = data.boxInfo
    this.id = data.id
  }

}

class StateButton{
  color:string
  content:string
  onlyPreShow:boolean
}